<template>
  <div>
    <div class="footer">
      <div class="title">
        <div class="title-box">
          <p>关注我们</p>
          <div class="icon-box">
            <el-popover placement="top" width="150" trigger="click">
              <img
                src="~/static/h5/gongzhonghao.png"
                alt=""
                style="height: 150px"
              />
              <img
                src="~/static/h5/weixin.svg"
                slot="reference"
                alt=""
                class="icon"
              />
            </el-popover>
            <el-popover placement="top" width="200" trigger="click">
              <div style="display: flex">
                <div>地址：</div>
                <div style="width: 137px">
                  浙江省宁波市鄞州区首南街道天达巷382号13-1室-1
                </div>
              </div>

              <img
                src="~/static/h5/location.svg"
                slot="reference"
                alt=""
                class="icon"
              />
            </el-popover>
            <el-popover placement="top" width="220" trigger="click">
              <!-- <p>
                联系电话：<a
                  style="text-decoration: none; color: rgba(13, 21, 46, 0.56)"
                  :href="'tel:' + 18966383526"
                  rel="nofollow"
                  >189 6638 3526</a
                >(彭经理)
              </p> -->
              <p>
                <span>联系电话：</span
                ><a
                  style="text-decoration: none; color: rgba(13, 21, 46, 0.56)"
                  :href="'tel:' + 4000574445"
                  rel="nofollow"
                  >400-0574-445</a
                >
              </p>
              <img
                src="~/static/h5/phone.svg"
                slot="reference"
                alt=""
                class="icon"
              />
            </el-popover>
          </div>
        </div>
      </div>
      <div class="logo-box">
        <div style="display: flex; justify-content: center">
          <img src="~/static/index/logo.svg" alt="" class="logo" />
        </div>

        <div class="logo-text">锅炉的事，就找炉管家</div>
      </div>
      <div class="bottom-text">
        <div>
          版权所有© 宁波厚德能源科技有限公司2015-{{ year }}。保留一切权利。
        </div>
        <div><a href="https://beian.miit.gov.cn" target="_blank" rel="nofollow">浙ICP备16036066号-6</a></div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      show: 1,
      show1: false,
      show2: false,
      show3: false,
      show4: false,
      year: new Date().getFullYear(),
    };
  },
  methods: {
    change(id) {
      console.log(id);
      this.show = id;
    },
  },
};
</script>
<style lang = "scss" scoped>
.footer {
  .title {
    border-bottom: 1px solid rgba(238, 238, 238, 1);
    padding: 0 24px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.14px;
    line-height: 24px;
    color: rgba(13, 21, 46, 1);
    .title-box {
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .item-box {
      font-size: 14px;
      font-weight: 400;
      letter-spacing: -0.14px;
      line-height: 24px;
      color: rgba(13, 21, 46, 0.56);
      padding-bottom: 4px;
      .item {
        margin-bottom: 20px;
      }
    }
    .show {
      width: 24px;
      height: 24px;
    }
    .icon-box {
      display: flex;
      .icon {
        height: 32px;
        width: 32px;
        margin-left: 16px;
      }
    }
  }
  .logo-box {
    margin-top: 40px;
    padding: 0 16px;

    .logo {
      width: 40px;
      height: 40px;
      margin-bottom: 4px;
    }
    .logo-text {
      font-size: 14px;
      font-weight: 400;
      letter-spacing: 0px;
      line-height: 34px;
      color: rgba(13, 21, 46, 0.56);
      text-align: center;
    }
  }
  .bottom-text {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.1px;
    line-height: 18px;
    color: rgba(13, 21, 46, 0.56);
    div {
      margin-bottom: 8px;
    }
  }
}
</style>
